package com.whfp.coky.api

import com.whfp.coky.App

class URLConstants {
    companion object{

        private const val BASE_URL_DEBUG: String = "http://gxjd.zenith-bio.com:10000/sk/"
        private const val BASE_URL_RELEASE: String = "http://gxjd.zenith-bio.com:10000/sk/"

        val BASE_URL: String = if (App.DEBUG) BASE_URL_DEBUG else BASE_URL_RELEASE

        //各个URL地址
        const val SEARCH_TASK_FGD = "ZxSwTaskMake/SearchByTaskName" //查询非固定任务列表

        const val TASK_ZTJ_GD = "ZxSwTaskMake/TotalTaskTask" //固定任务的总任务统计

        const val TASK_ZTJ_FGD = "ZxSwTaskMake/TotalTaskTasks" //非固定任务的总任务统计

        const val CORRESPONDING_PERSONNEL =
            "ZxSwTaskMake/correspondingPersonnel" //点击单个人名片进入该人员的任务统计及待办任务列表

        const val QUALITY_PERSONNEL_QUERY = "ZxSwTaskMake/qualityPersonnelQuery" //戒毒人员列表查询

        const val QUALITY_INSPECTION_LIST = "ZxSwTaskMake/qualityInspectionList" //待质检的设备列表

        const val ZRWCX = "ZxSwTaskMake/subTaskBased" //子任务查询

        const val MFCJBXX_SUBMIT = "/ZxSwTaskMake/hairCollectionSubmission" //任务-毛发采集表信息提交

        const val FACE_COLLEC = "aioApi/getNoIdsFace" //任务-纯人脸采集

        const val QRCODE_PRINT_SUBMIT = "aioApi/ewmPrint" //二维码打印任务提交

        const val CAMERA_UPLOAD = "aioApi/getCamera" //拍照上传子任务提交

        const val ID_CARD_COLLEC = "aioApi/getNoVerIds" //身份证信息采集提交（不核验）

        const val UPLOAD_RESULT_YG = "aioApi/lightTestUpload.do" //荧光检测任务提交

        const val SEARCH_EWM = "aioApi/searchEwm" //查询要打印的二维码

        const val GET_ITEM_NAME = "admin/ZxSwTaskMake/getItemName" //获取RFID标签对应的物品名称

        const val LABEL_FIND_CARD =
            "ZxSwTaskMake/labelFindCard" //RFID标签读卡/写卡/寻卡提交,支持多个标签卡提交

        const val LABEL_LOCK = "ZxSwTaskMake/labelLock" //RFID标签锁定

        const val LABEL_UNLOCK = "ZxSwTaskMake/labelUnlock" //RFID标签解锁

        const val FIND_ZX_MAN = "ZxSwMan/findZxMan" //根据信息查询人员

        const val SUB_IDENTITY = "ZxSwTaskMake/subIdentity" //任务-身份填写提交

        const val SEARCH_RYXX_BY_CODE = "ZxSwTaskMake/findPersonByCode" //通过条码查询人员绑定的信息

        const val WARE_HOUSE = "ZxSwTaskMake/warehouse" //任务-易制毒和实验室子任务-库房

        const val CLXX = "ZxSwTaskMake/vehicleInformation" //任务-易制毒和实验室子任务-车辆信息

        const val WZJC = "ZxSwTaskMake/materialTesting" //任务-易制毒和实验室子任务-物质检查+

        const val HXPXX = "ZxSwTaskMake/chemicalInformation" //任务-易制毒和实验室子任务-化学品信息

        const val SM = "ZxSwTaskMake/scanCode" //任务-扫码

//    private final static String SM = "ZxSwTaskMake/chemicalInformation";                          //任务-扫码


        //    private final static String SM = "ZxSwTaskMake/chemicalInformation";                          //任务-扫码
        const val QMTJ = "aioApi/getSign" //任务-签名提交--官哥写的

        const val RLHY = "aioApi/faceMatch" //任务-人脸核验提交--官哥写的

        const val MAOFA_TASK_DETAIL = "aioApi/maofaTaskDetailQuery" //发检任务表单信息查询--官哥写的

        const val FAJIAN_SUBMIT = "aioApi/fajianSubmit" //任务-发检核验二维码生成/绑定--官哥写的


        //张思写的
        const val DEVICE_QC_KZ_SUBMIT = "admin/ctResults/SubmitResults" //控制设备质检提交

        //陈天阳写的
        const val ZX_CHECK_QUALITY = "ZxCheck/quality" //质检时破冰二检测结果提交

        const val ZX_CHCEK_INFO_SUBMIT = "zxCheckInfo/submit" //破冰二质检任务提交

        const val ZX_WGZJ_SUBMIT = "ZxSwTaskMake/qualityInspectionSubmission" //破冰2外观质检提交

        //官哥写的
        const val LOGIN = "account/login" //登录

        //以下接口为固定地址
        const val REGISTER =
            "http://jiedu.zenith-bio.com:10000/sk/deviceApi/register.do" //APP扫码激活

        const val CHECK_DEVICE =
            "http://jiedu.zenith-bio.com:10000/sk/deviceApi/checkDevice.do" //设备验证

        const val CHECK_BQ =
            "http://jiedu.zenith-bio.com:10000/sk/deviceApi/checkBqName.do" //试剂卡验证

        const val CHECK_SJK =
            "http://jiedu.zenith-bio.com:10000/sk/deviceApi/checkTestCardNo.do" //试剂卡验证

        const val SEARCH_BQ =
            "http://jiedu.zenith-bio.com:10000/sk/admin/bq/AppInvoking" //根据标曲编号查询标曲文件16进制字符内容

    }
}